package com.service.core.rest.request;

import com.service.core.bean.SimpleOrder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页请求
 */
@Setter
@Getter
@ToString
public class PageRequest {

    /**
     * 当页数量
     */
    private int pageSize = 10;

    /**
     * 页码
     */
    private int pageNo = 1;

    /**
     * 排序条件
     */
    private List<SimpleOrder> simpleOrderList = new ArrayList<>();

}
